//
//  NSColor+Extention.m
//  TTCOM-macOS
//
//  Created by Toj on 3/22/21.
//

#import "NSColor+Extention.h"

@implementation NSColor (Extention)

+ (instancetype)randomColor {
    CGFloat r = arc4random_uniform(256) / 255.0;
    CGFloat g = arc4random_uniform(256) / 255.0;
    CGFloat b = arc4random_uniform(256) / 255.0;
    NSColor *color = [NSColor colorWithRed:r green:g blue:b alpha:1];
    return color;
}

@end
